<?php

/**
 * @author edson
 * @copyright 2011
 */

//echo "registrar ....";
//echo getcwd();
//echo basename(getcwd());
$ruta=$_SERVER['DOCUMENT_ROOT']."/viventura"."/MDAdministracion";
include_once("$ruta/conf/CConfig.php");
include_once("$ruta/elements/head.tpl");
include_once("$ruta/view/CDrawPageReg.php");
$action="#";$name="formulario_registro";$method="post";$NAME="REGISTRO";
CDrawPageReg::getInstance()->DrawHead($action,$name,$method,$NAME);

$items=array("nombre"=>"Nombre","apellido"=>"Apellido","email"=>"Direccion-mail","direccion"=>"Direccion");
CDrawPageReg::getInstance()->DrawTextBox($items);
/********************
*COMBOBOX
**/
$NAMEbox="CIUDADES";
$campos_table=array("idCit","NamCit","CouNameCit");
$table="city";
CDrawPageReg::getInstance()->DrawSelect($table,$campos_table,$NAMEbox);

$NAMEbox="OFICINA";
$campos_table2=array("idOfi","DirOfi");
$table2="oficinas";
CDrawPageReg::getInstance()->DrawSelect($table2,$campos_table2,$NAMEbox);


$items=array("Hombre"=>"1","Mujer"=>"0");
CDrawPageReg::getInstance()->DrawRadioButton($items);














CDrawPageReg::getInstance()->DrawFoot();
include_once("$ruta/elements/foot.tpl");
?>


<div>

</div>